package com.nd.qa.shareplate.script.robotium;

import java.io.File;
import java.util.ArrayList;

/**
 * 生成测试apk
 * @author huangjian
 * @createDate 2016-05-26
 * @version V1.0
 */
public class GenerateTestApk {

	public void generateTestApk(String scriptRootPath){
		ArrayList<TestSuite> testSuites = new ParserTestCase().findAllTestClass(new File(scriptRootPath));
		CompileApk compile = new CompileApk(scriptRootPath, testSuites.get(0).getPackageName());
		compile.compileApk();
	}
}
